package log4j;

import org.apache.log4j.Logger;
import org.apache.log4j.MDC;

import java.util.UUID;

public class LogTest {
	private static final Logger logger = Logger.getLogger(LogTest.class);
	
	public static void main(String[] args) {

		MDC.clear();
		MDC.put("traceId", UUID.randomUUID().toString());
		logger.info("asdfasdfasdf");
	}

}
